package com.htgd.gardenexpo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 使用详情
 * </p>
 *
 * @author author
 * @since 2024-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_integral_deduction_details")
@ApiModel(value="GeConIntegralDeductionDetails对象", description="使用详情")
public class GeConIntegralDeductionDetails implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单号")
    private String orderId;

    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "商品类型")
    private Integer categoryId;

    @ApiModelProperty(value = "商品类型")
    private String categoryName;

    @ApiModelProperty(value = "使用数量")
    private Integer amount;

    @ApiModelProperty(value = "抵扣金额")
    private BigDecimal money;

    @ApiModelProperty(value = "使用时间")
    private LocalDateTime time;


}
